package com.moon.consumer01;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "SEARCH",fallbackFactory = IndexApiHystrix.class)
public interface IndexApi {
    @RequestMapping(value = "/index")
    public String index();
}
